/* **************************************************************************
 * The DarkTip plugin is a javascript based tooltip framework that enables
 * quick and easy development of modules that hook into specific aspects of a
 * webpage and display context sensitive tooltips.
 * 
 * Copyright (C) 2011  Martin Gelder
 * (darkspotinthecorner {at} gmail {dot} com)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/gpl.html.
 * ************************************************************************** */

/* ==========================================================================
 * --- DarkTip.wow Styles ---------------------------------------------------
 * ========================================================================== */

/* --- Override of 280 max-width -------------------------------------------- */

.darktip-tooltip-wow {
	max-width: 750px;
	min-width: 200px;
}

/* --------------------------------------------------------------------------
 *  Colors
 * -------------------------------------------------------------------------- */

.darktip-tooltip-wow .cquality-0 { /* Poor        */ color: #9D9D9D !important; }
.darktip-tooltip-wow .cquality-1 { /* Common      */ color: #FFFFFF !important; }
.darktip-tooltip-wow .cquality-2 { /* Uncommon    */ color: #1EFF00 !important; }
.darktip-tooltip-wow .cquality-3 { /* Rare        */ color: #0070FF !important; }
.darktip-tooltip-wow .cquality-4 { /* Epic        */ color: #C600FF !important; }
.darktip-tooltip-wow .cquality-5 { /* Legendary   */ color: #FF8000 !important; }
.darktip-tooltip-wow .cquality-6 { /* Artifact    */ color: #E6CC80 !important; }
.darktip-tooltip-wow .cquality-7 { /* Heirloom    */ color: #E6CC80 !important; }

.darktip-tooltip-wow .cclass-1  { /* Warrior      */ color: #C79C6E !important; }
.darktip-tooltip-wow .cclass-2  { /* Paladin      */ color: #F58CBA !important; }
.darktip-tooltip-wow .cclass-3  { /* Hunter       */ color: #ABD473 !important; }
.darktip-tooltip-wow .cclass-4  { /* Rogue        */ color: #FFF569 !important; }
.darktip-tooltip-wow .cclass-5  { /* Priest       */ color: #FFFFFF !important; }
.darktip-tooltip-wow .cclass-6  { /* Death Knight */ color: #C41F3B !important; }
.darktip-tooltip-wow .cclass-7  { /* Shaman       */ color: #0070DE !important; }
.darktip-tooltip-wow .cclass-8  { /* Mage         */ color: #69CCF0 !important; }
.darktip-tooltip-wow .cclass-9  { /* Warlock      */ color: #9482C9 !important; }
.darktip-tooltip-wow .cclass-11 { /* Druid        */ color: #FF7D0A !important; }

.darktip-tooltip-wow .cside-0, .darktip-tooltip-wow .cside-alliance { color: #80BBFF !important; }
.darktip-tooltip-wow .cside-1, .darktip-tooltip-wow .cside-horde    { color: #FF8080 !important; }

.darktip-tooltip-wow .crealmtype-pve     { color: #44CC33; }
.darktip-tooltip-wow .crealmtype-pvp     { color: #FF5533; }
.darktip-tooltip-wow .crealmtype-rp      { color: #BBCC33; }
.darktip-tooltip-wow .crealmtype-rppvp   { color: #FF9944; }
.darktip-tooltip-wow .crealmstatus-true  { color: #33FF33; }
.darktip-tooltip-wow .crealmstatus-false { color: #FF3333; }
.darktip-tooltip-wow .crealmqueue-true   { color: #FFBB33; }

/* --------------------------------------------------------------------------
 *  PvP Leader Icon
 * -------------------------------------------------------------------------- */

/* Original image: http://eu.battle.net/wow/static/images/pvp/leader.gif / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-leader-pvp {
	background: url() center right no-repeat;
	padding-right: 16px;
}

/* --------------------------------------------------------------------------
 *  Achievenemt Points Icon
 * -------------------------------------------------------------------------- */

/* Original image: http://us.battle.net/wow/static/images/icons/achievements.gif / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-achievenemtpoints {
	background: url() center right no-repeat;
	padding-right: 12px;
}

/* --------------------------------------------------------------------------
 *  Money Icons
 * -------------------------------------------------------------------------- */

/* Original image: http://us.battle.net/wow/static/images/icons/gold.gif / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-gold      { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* Original image: http://us.battle.net/wow/static/images/icons/silver.gif / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-silver    { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* Original image: http://us.battle.net/wow/static/images/icons/copper.gif / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-copper    { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* --------------------------------------------------------------------------
 *  Socket Icons
 * -------------------------------------------------------------------------- */

.darktip-tooltip-wow .icon-socket                         { display: block; position: relative; width: 15px; height: 15px; }
.darktip-tooltip-wow .icon-socket .gem                    { display: block; width: 15px; height: 15px; }
.darktip-tooltip-wow .icon-socket .gem img                { display: block; width: 13px; height: 13px; padding: 1px 0 0 1px; }
.darktip-tooltip-wow .icon-socket .empty                  { position: absolute; left: 1px; top: 1px; width: 13px; height: 13px; }

/* Original image: http://us.battle.net/wow/static/images/icons/frames/sockets.png / (c) 2011 by Blizzard Entertainment */
.darktip-tooltip-wow .icon-socket .frame                  { position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: url() no-repeat; }

.darktip-tooltip-wow .icon-socket.socket-META      .empty { background-color: #29292A; }
.darktip-tooltip-wow .icon-socket.socket-RED       .empty { background-color: #301010; }
.darktip-tooltip-wow .icon-socket.socket-YELLOW    .empty { background-color: #403010; }
.darktip-tooltip-wow .icon-socket.socket-BLUE      .empty { background-color: #102040; }
.darktip-tooltip-wow .icon-socket.socket-PRISMATIC .empty { background-color: #29292A; }
.darktip-tooltip-wow .icon-socket.socket-HYDRAULIC .empty { background-color: #FF0000; }
.darktip-tooltip-wow .icon-socket.socket-COGWHEEL  .empty { background-color: #29292A; }
.darktip-tooltip-wow .icon-socket.socket-META      .frame { background-position:  -45px   0; }
.darktip-tooltip-wow .icon-socket.socket-RED       .frame { background-position:      0   0; }
.darktip-tooltip-wow .icon-socket.socket-YELLOW    .frame { background-position:  -15px   0; }
.darktip-tooltip-wow .icon-socket.socket-BLUE      .frame { background-position:  -30px   0; }
.darktip-tooltip-wow .icon-socket.socket-ORANGE    .frame { background-position:  -90px   0; }
.darktip-tooltip-wow .icon-socket.socket-PURPLE    .frame { background-position:  -75px   0; }
.darktip-tooltip-wow .icon-socket.socket-GREEN     .frame { background-position: -105px   0; }
.darktip-tooltip-wow .icon-socket.socket-PRISMATIC .frame { background-position:  -60px   0; }
.darktip-tooltip-wow .icon-socket.socket-HYDRAULIC .frame { background-position:      0   0; }
.darktip-tooltip-wow .icon-socket.socket-COGWHEEL  .frame { background-position:  -45px   0; }

/* --------------------------------------------------------------------------
 *  Generic Tooltips
 * -------------------------------------------------------------------------- */

.ajaxloading,
.darktip-tooltip-wow {
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 15px;
}

.darktip-tooltip-wow .ui-tooltip-titlebar,
.darktip-tooltip-wow .ui-tooltip-content {
	border-color: #333;
	color: #fff;
}

.darktip-tooltip-wow .ui-tooltip-content {
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.85);
}

.darktip-tooltip-wow .tooltip-404 {
	padding:3 px;
}

.darktip-tooltip-wow .tooltip-404 .title {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
	padding-bottom: 3px;
	color: #FF3333;
}

.darktip-tooltip-wow .tooltip-404 .title .sub {
	font-size: 14px;
	color: #808080;
}

.darktip-tooltip-wow .tooltip-404 div .value {
	color: #FFB100;
}

/* --------------------------------------------------------------------------
 *  Simple / Extended Rules
 * -------------------------------------------------------------------------- */

.darktip-tooltip-wow div.darktip-only-s {
	display: block;
}

.darktip-tooltip-wow span.darktip-only-s {
	display: inline;
}

body.darktip-extended-mode .darktip-tooltip-wow .darktip-only-s {
	display: none;
}

.darktip-tooltip-wow .darktip-only-x {
	display: none;
}

body.darktip-extended-mode .darktip-tooltip-wow div.darktip-only-x {
	display: block;
}

body.darktip-extended-mode .darktip-tooltip-wow span.darktip-only-x {
	display: inline;
}

.darktip-tooltip-wow .info-meta {
	color: #777;
	padding-top: 6px;
	padding-bottom: 3px;
}

/* --------------------------------------------------------------------------
 *  Tooltip Element Rules - Layout
 * -------------------------------------------------------------------------- */

.darktip-tooltip-wow .darktip-row {
	padding-bottom: 1px;
}

.darktip-tooltip-wow .darktip-row.padded {
	padding: 2px 4px;
}

.darktip-tooltip-wow div {
	position: relative;
}

.darktip-tooltip-wow .headline {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
	padding-bottom: 3px;
}

.darktip-tooltip-wow .headline-right {
	float: right;
	font-size: 14px;
	font-weight: bold;
	padding-left: 10px;
}

.darktip-tooltip-wow .block {
	padding-left: 5px;
}

.darktip-tooltip-wow .icon {
	float: left;
	border: 4px solid rgba(0, 0, 0, 0.33);
}

.darktip-tooltip-wow .col-70 {
	padding: 4px 4px 4px 70px;
}

.darktip-tooltip-wow .col-98 {
	padding: 4px 4px 4px 98px;
}

.darktip-tooltip-wow .pos-right {
	position: absolute;
	top: 0;
	right: 0;
}

.darktip-tooltip-wow .padded .pos-right {
	position: absolute;
	top: 2px;
	right: 4px;
}

.darktip-tooltip-wow .icon-10x10 {
	vertical-align: middle;
	height: 10px;
	width: auto;
}

.darktip-tooltip-wow .icon-18x18 {
	vertical-align: middle;
	height: 18px;
	width: auto;
}

.darktip-tooltip-wow .sockets .socket {
	line-height: 18px;
	overflow: hidden;
}

.darktip-tooltip-wow .sockets .icon-socket {
	float: left;
	margin-right: 4px;
	margin-top: 1px;
}

.darktip-tooltip-wow .sub {
	font-size: 85%;
}

/* --------------------------------------------------------------------------
 *  Tooltip Element Rules - Color
 * -------------------------------------------------------------------------- */

.darktip-tooltip-wow .highlight-custom {
	color: #0F0;
}

.darktip-tooltip-wow .highlight-strong {
	color: #71D5FF;
}

.darktip-tooltip-wow .highlight-medium {
	color: #FFD100;
}

.darktip-tooltip-wow .highlight-weak {
	color: #C09A67;
}

.darktip-tooltip-wow .highlight-won {
	color: #66FF66;
}

.darktip-tooltip-wow .highlight-lost {
	color: #FF6666;
}

.darktip-tooltip-wow .highlight-reduced {
	color: #909090;
}

.darktip-tooltip-wow .darktip-row.alt {
	background-color: rgba(0, 0, 0, 0.33);
}
